package com.deliccio.util;

public class BeanConsulta{

	String atributo;
	String query;	
	Object valor;	
	
	Boolean like=false;
	Boolean igual=false;
	Boolean menos=false;
	Boolean mayor=false;
	
	Boolean between=false;
	String query2;		
	Object valor2;
	



	public BeanConsulta(String atributo,String query,Object valor,Boolean igual){
		this.atributo=atributo;
		this.query=query;
		this.valor=valor;
		this.igual=igual;
	}


	public BeanConsulta(String atributo,String query,Object valor,Boolean like,Boolean menos,Boolean mayor,Boolean between){
		
		this.atributo=atributo;
		this.query=query;
		this.valor=valor;
		this.like=like;
		this.menos=menos;
		this.mayor=mayor;
		this.between=between;
	}


	public BeanConsulta(String atributo,String query,Object valor,Boolean like,Boolean menos,Boolean mayor,Boolean between,String query2,Object valor2){
		super();
		this.atributo=atributo;
		this.query=query;
		this.valor=valor;
		this.like=like;
		this.menos=menos;
		this.mayor=mayor;
		this.between=between;
		this.query2=query2;
		this.valor2=valor2;
	}


	public Boolean getIgual(){
		return igual;
	}


	public void setIgual(Boolean igual){
		this.igual=igual;
	}


	public String getQuery2(){
		return query2;
	}

	public void setQuery2(String query2){
		this.query2=query2;
	}

	public Object getValor2(){
		return valor2;
	}
	public void setValor2(Object valor2){
		this.valor2=valor2;
	}
	public Boolean getBetween(){
		return between;
	}
	public void setBetween(Boolean between){
		this.between=between;
	}
	public String getQuery(){
		return query;
	}
	public void setQuery(String query){
		this.query=query;
	}
	public Boolean getLike(){
		return like;
	}
	public void setLike(Boolean like){
		this.like=like;
	}
	public Boolean getMenos(){
		return menos;
	}
	public void setMenos(Boolean menos){
		this.menos=menos;
	}
	public Boolean getMayor(){
		return mayor;
	}
	public void setMayor(Boolean mayor){
		this.mayor=mayor;
	}
	public String getAtributo(){
		return atributo;
	}
	public void setAtributo(String atributo){
		this.atributo=atributo;
	}
	public Object getValor(){
		return valor;
	}
	public void setValor(Object valor){
		this.valor=valor;
	}
	
	
	
}
